home *** CD-ROM | disk | FTP | other *** search
- Path: tank.news.pipex.net!pipex!iol!usenet
- From: dwight@broadleas.iol.ie (Dwight Alwine)
- Newsgroups: comp.lang.c++
- Subject: Sending Keystrokes to another app
- Date: Tue, 02 Apr 1996 09:11:52 GMT
- Organization: Bleco Trading
- Message-ID: <4jqng9$9tf@nuacht.iol.ie>
- NNTP-Posting-Host: af053.du.pipex.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- I am having a problem sending keystrokes to another app in Windows.
- As VB is my primary language there is a SendKey function which works
- quite nicely fine thank you, but in C is another matter. I can get
- the app to respond to things such as ShowWindow, Maximize, Minimize
- etc,. It refuses to respond to any WM_CHAR, WM_KEYDOWN, WM_KEYUP
- messages I send or post to it.
-
- Can anybody point me to a site with some example code so I can see
- where I am going wrong or possibly give me just some advice?
-
- Thanks in advance.
-
- ------------------------------------------------------------------
- Dwight Alwine
-
- dwight@broadleas.iol.ie
- ------------------------------------------------------------------
-
- -----------------------------------------------
- | Dwight Alwine |
- | dwight@broadleas.iol.ie |
- -----------------------------------------------
-
-